projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317dcdd
)
cellarea: Be very clear
author
Benjamin Otte
<otte@redhat.com>
Fri, 6 Mar 2020 04:50:35 +0000
(
05:50
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 6 Mar 2020 04:50:35 +0000
(
05:50
+0100)
The static analyzer needs to know we absolutely DO NOT want to use this
return value.
gtk/gtkcellarea.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellarea.c
b/gtk/gtkcellarea.c
index e9b10bd3550a275e19ead39adc858f8774d256d8..157c3bc5ed6cad22c1a5c455d53fa8baa9dcacbe 100644
(file)
--- a/
gtk/gtkcellarea.c
+++ b/
gtk/gtkcellarea.c
@@
-2950,7
+2950,9
@@
gtk_cell_area_add_focus_sibling (GtkCellArea *area,
siblings = g_hash_table_lookup (priv->focus_siblings, renderer);
if (siblings)
- siblings = g_list_append (siblings, sibling);
+ {
+ G_GNUC_UNUSED GList *unused = g_list_append (siblings, sibling);
+ }
else
{
siblings = g_list_append (siblings, sibling);